package com.ruoyi.vstac.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品信息对象 entry
 * 
 * @author kingner
 * @date 2024-07-08
 */
public class Entry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作品的id */
    private int entryId;

    /** 作品名称 */
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Excel(name = "作品名称")
    private String workName;

    /** 参赛组别 */
    @Excel(name = "参赛组别")
    private String categoryName;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    private int categoryId;

    /** 参赛学校 */
    @Excel(name = "参赛学校")
    private String school;


    /** 参赛团队成员，多人用逗号隔开 */
    @Excel(name = "参赛团队成员，多人用逗号隔开")
    private String teammembers;

    /** 联系方式，必填项 */
    @Excel(name = "联系方式，必填项")
    private String phone;

    @Excel(name = "总分")
    private Integer totalScore;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public Integer getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Integer totalScore) {
        this.totalScore = totalScore;
    }

    public void setEntryId(int entryId)
    {
        this.entryId = entryId;
    }

    public int getEntryId()
    {
        return entryId;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setCategoryId(int categoryId)
    {
        this.categoryId = categoryId;
    }

    public int getCategoryId()
    {
        return categoryId;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setTeammembers(String teammembers) 
    {
        this.teammembers = teammembers;
    }

    public String getTeammembers() 
    {
        return teammembers;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("entryId", getEntryId())
            .append("userId", getUserId())
            .append("workName", getWorkName())
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("school", getSchool())
            .append("teammembers", getTeammembers())
            .append("phone", getPhone())
                .append("totalScore", getTotalScore())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
